package futbol5;

import com.toedter.calendar.JDateChooser;
import java.text.SimpleDateFormat;
import java.util.GregorianCalendar;
import javax.swing.JFrame;

/**
 *
 * @author Ivan Cantero
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

JDateChooser cho = new JDateChooser();
cho.getJCalendar().setWeekOfYearVisible(false);
JFrame f8 = new JFrame();
f8.getContentPane().add(cho);
f8.setVisible(true);


        JFrame f = new GrillaDiaria();

        f.setVisible(true);


        Menu.iniciar();

        SimpleDateFormat df = new SimpleDateFormat();

        Partido p1 = new Partido();
        System.out.println(df.format(p1.getInicio().getTime()));
        System.out.println(df.format(p1.getFin().getTime()));

        Reserva r1 = new Reserva(null, null, null, null);
        r1.iniciarPartido();
        System.out.println(df.format(r1.getPartido().getInicio().getTime()));
        System.out.println(df.format(r1.getPartido().getFin().getTime()));





       


    }
}
